package com.tengju.user.domain.model.chief;

import com.tengju.user.domain.model.club.ClubId;

import java.util.List;

public interface ChiefClubRepository {

    List<ChiefClub> getChiefClub(ChiefId chiefId);

    void batchInsert(List<ChiefClub> newChiefClubs);

    void batchRemove(ChiefId chiefId, List<Long> clubIds);

    List<ChiefClubRelation> queryByClubIdAndChiefIdPage(ClubId clubId, ChiefId chiefId, Integer offset, Integer pageSize);

    int count(ClubId clubId, ChiefId chiefId);

    void removeChiefClubRelation(ChiefClubRelationId chiefClubRelationId);

    void updateChiefClubRelation(ChiefClubUpdateRelation chiefClubUpdateRelation);
}
